-- GENERATED SPELL FOR [Bloodmaul Dire Wolf] --


function spell0_20058(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20058', 15000, 1)
end

function Sorts_20058(pUnit, Event)
local choix_sorts_20058 = math.random(0, 0)
if choix_sorts_20058 == 0 then
pUnit:RegisterEvent('spell0_20058', 1, 1)
end
end

function mob20058_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20058', math.random(1500, 3000), 1)
end

function mob20058_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20058_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20058_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20058, 1, 'mob20058_Action')
RegisterUnitEvent(20058, 2, 'mob20058_Leave')
RegisterUnitEvent(20058, 3, 'mob20058_Kill')
RegisterUnitEvent(20058, 4, 'mob20058_Die')
